package com.yu.footballpromotionliveadmin.dao;

import com.yu.footballpromotionliveadmin.page.PageInfo;
import com.yu.footballpromotionliveadmin.pojo.LiveBroadcasAdministrator;

import java.util.List;

public interface LiveBroadcasAdministratorDao {
    public List<LiveBroadcasAdministrator> getAllLiveBroadcasAdministrators()  throws Exception;
    public LiveBroadcasAdministrator  getLiveBroadcasAdministratorByUno(String lbano)  throws Exception;
    public List<LiveBroadcasAdministrator> getLiveBroadcasAdministratorsByPage(PageInfo pageInfo);
    //增删改的返回值都是整数
    Integer deleteLiveBroadcasAdministrator(String lbano)  throws Exception;
    Integer updateLiveBroadcasAdministrator(LiveBroadcasAdministrator liveBroadcasAdministrator)  throws Exception;
    Integer addLiveBroadcasAdministratorByUno(LiveBroadcasAdministrator liveBroadcasAdministrator)  throws Exception;

    LiveBroadcasAdministrator getLiveBroadcasAdministratorsWithOrders(String lbano)throws Exception;

    LiveBroadcasAdministrator getAccountByAccountName(String lbano)throws Exception;
}
